package cn.bgs.mapper;

import cn.bgs.pojo.CommentEvaluation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 留言评价表 Mapper 接口
 * </p>
 *
 * @author Mr.Zhao
 * @since 2022-08-08
 */
@Mapper
public interface CommentEvaluationMapper extends BaseMapper<CommentEvaluation> {

    List<CommentEvaluation> findCommentEvaluation(@Param("comEvaTitle")String comEvaTitle,@Param("comEvaFrom")String comEvaFrom);

    CommentEvaluation findCommentEvaluationId(Integer id);

    Integer delCommentEvaluation(Integer id);
}
